1.2 RIP Version 2  
  1.2.5 Verifying RIP v2  
The show ip protocols and show ip route commands display information about routing protocols and the routing table. This section describes how to use show commands to verify the RIP configuration.

The show ip protocols command displays values about routing protocols and routing protocol timer information associated with the router. In the example, the router is configured with RIP and sends updated routing table information every 30 seconds. This interval is configurable. If a router running RIP does not receive an update from another router for 180 seconds or more, the first router marks the routes served by the non-updating router as being invalid. In Figure , the holddown timer is set to 180 seconds. Therefore, an update to a route that was down and is now up could stay in the holddown state until the full 180 seconds have passed.

If there is still no update after 240 seconds the router removes the routing table entries. In the figure, it has been 18 seconds since Router A received an update from Router B. The router is injecting routes for the networks listed following the Routing for Networks line. The router is receiving routes from the neighboring RIP routers listed following the Routing Information Sources line. The distance default of 120 refers to the administrative distance for a RIP route.

The show ip interface brief command can also be used to list a summary of the information and status of an interface.

The show ip route command displays the contents of the IP routing table. The routing table contains entries for all known networks and subnetworks, and contains a code that indicates how that information was learned. The output of key fields from this command and their function is explained in the table.

Examine the output to see if the routing table is populated with routing information. If entries are missing, routing information is not being exchanged. Use the show running-config or show ip protocols privileged EXEC commands on the router to check for a possible misconfigured routing protocol.

 

Lab Activity

Lab Exercise: Verifying RIP v2 Configuration

In this lab, the students will configure RIP v1 and v2 on routers and use show commands to verify RIP v2 operation.